package com.food.eat.mapper;


import com.food.eat.pojo.OrderBase;
import org.apache.ibatis.annotations.Param;

public interface OrderMapper {
    /**
     * order save方法
     *
     * @param order
     * @return
     */
    public int insertOrder(@Param("order") OrderBase order);

    /**
     * order update方法
     *
     * @param order
     * @return
     */
    public int updateOrderByParmaryId(@Param("order") OrderBase order);


    public OrderBase selectOrderById(@Param("order") OrderBase orderBase);
}
